// 用户角色枚举
export enum UserRole {
  ADMIN = 'admin',
  USER = 'user'
}

// 角色权限映射
export const RolePermissions = {
  [UserRole.ADMIN]: [
    'user:read',
    'user:create',
    'user:update',
    'user:delete',
    'admin:manage'
  ],
  [UserRole.USER]: [
    'user:read'
  ]
} as const;

// 角色显示名称
export const RoleDisplayNames = {
  [UserRole.ADMIN]: '管理员',
  [UserRole.USER]: '普通用户'
} as const;

